package com.file;

import java.io.IOException;

/**
 * 输入流
 */
public class 输入流 {
    public static void main(String[] args) {
        byte[] bytes = new byte[10];
        System.out.println("int:");
        try {
            System.in.read(bytes);
        } catch (IOException e) {
            e.printStackTrace();
        }
        System.out.println("out:");
        for(byte b:bytes){
            System.out.print(
                    (char)b
            );
        }
    }
}
